package com.neuedu.javase.api;

/**
 * @auth 金山老师
 * title:   书籍代码
 * creatime: 2022-09-28 10:56
 * 描述 :
 */
public class User {
    private String name;

    public User(String name) {
        this.name = name;
    }

//    public String toString(){
//
//        return "User = [name="+name+"]";
//    }


//    ALT +INSERT


    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                '}';
    }
}
